package com.bupt.hotel.hvac.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 房间状态枚举
 */
@Getter
public enum RoomStatus {
    OFF("OFF", "关机"),
    STANDBY("STANDBY", "待机"),
    SERVING("SERVING", "服务中"),
    WAITING("WAITING", "等待中"),
    TARGET_REACHED("TARGET_REACHED", "已达目标温度");

    @EnumValue
    @JsonValue
    private final String value;

    private final String description;

    RoomStatus(String value, String description) {
        this.value = value;
        this.description = description;
    }
}
